home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Magazine / Online / QMail / source / sig_term.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-15  |  248 b   |  8 lines

  1. #include <signal.h>
  2. #include "sig.h"
  3.  
  4. void sig_termblock() { sig_block(SIGTERM); }
  5. void sig_termunblock() { sig_unblock(SIGTERM); }
  6. void sig_termcatch(f) void (*f)(); { sig_catch(SIGTERM,f); }
  7. void sig_termdefault() { sig_catch(SIGTERM,SIG_DFL); }
  8.